Extended Conditions for Answering an Aggregate Query Using Materialized Views

نویسندگان

  • Jae-young Chang
  • Sang-goo Lee
چکیده

A view is a virtual relation defined in terms of ba se relations and is said to be materialized if it is stored in the database. In the past few years, mate rialized views have attracted a significant amount of research in many applications environments as a means of enhancing query performance. Materialized views offer significant performance ad vantages in evaluating a query by eliminating the need for recomputing the views. Just as a cache , a materialized view is a type of replicated copy of information derived from base relations and, hen ce, the technique is very useful in various applications where access to local or cached views may be cheaper than access to the base relations. Although many approaches for utilizing materialized views in evaluating a query have been proposed [1, 2, 4, 5], there were several restricti ons in selecting such views. First, only views whose relations are contained in those of a query w ere considered. Thus, if a view refers to relations not mentioned in the query, it was excluded from consideration. Furthermore, a view is also excluded if it does not contain the necessary attributes for the query. However, there are many cases where a view can be utilized even if the abov e restrictions are not satisfied. In this paper, we propose a new approach to using m aterialized views in answering an aggregate query. We extend the practical scope of utilizing m aterialized views which include those that would have been excluded in previous approaches. We first show the conditions for testing whether a materialized view can be utilized in answering a qu ery even if the materialized view has relations not mentioned in the query. These conditions are then extended by introducing a method that recovers the missing attributes. All conditions are designed to be applicable for ba g (multiset) semantics. Bag semantics are used in the underlying models of most practical database management systems.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An Extended Query Reformulation Technique Using Materialized Views

Materialized views offer opportunities for significant performance gain in query evaluation by providing fast access to pre-computed data. The question of when and how to use a materialized view in processing a given query is a difficult one attracting a significant amount of research. Whether a materialized view can be used in answering a query depends on the relationship between the view and ...

متن کامل

Aggregate Query Rewriting in Multidimensional Databases

An efficient query engine is certainly one of the most important components in data warehouses (also known as OLAP systems or multidimensional databases) and its efficiency is influenced by many other aspects, both logical (data model, policy of view materialization, etc.) and physical (multidimensional or relational storage, indexes, etc). As is evident, OLAP queries are often based on the usu...

متن کامل

Reasoning with Aggregation Constraints in Views

We investigate the problem of using materialized views to compute answers to SQL queries with grouping and aggregation, in the presence of multiset tables. This problem is important in many applications, such as data warehousing, mobile computing, global information systems, and maintaining physical data independence, where access to local or cached materialized views may be cheaper than access...

متن کامل

Rewriting OLAP Queries Using Materialized Views and Dimension Hierarchies in Data Warehouses

OLAP queries involve a lot of aggregations on a large amount of data in data warehouses. To process expensive OLAP queries efficiently, we propose a new method for rewriting a given OLAP query using various kinds of materialized aggregate views which already exist in data warehouses. We first define the normal forms of OLAP queries and materialized views based on the lattice of dimension hierar...

متن کامل

Answering Queries Using Views: A Survey

The problem of answering queries using views is to find efficient methods of answering a query using a set of previously materialized views over the database, rather than accessing the database relations. The problem has recently received significant attention because of its relevance to a wide variety of data management problems. In query optimization, finding a rewriting of a query using a se...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Inf. Process. Lett.

دوره 72  شماره 

صفحات  -

تاریخ انتشار 1999